<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<link href="themes01/default/clientPublic.css" rel="stylesheet" type="text/css"/>
<link href="themes01/default/codeMgr.css" rel="stylesheet" type="text/css"/>
<link href="themes01/default/tabSwitch.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" type="text/css" href="themes01/default/pstyle.css">
<script type="text/javascript" src="javascripts01/jquery.js"></script>
<script type="text/javascript" src="javascripts01/common.js"></script>
<script language="javascript" type="text/javascript" src="DatePicker/WdatePicker.js"></script>
<title>Office 515158 2011 OA办公系统</title>
 
</head>
<body>
<div id="Holder">
<div id="MainPage">

 
 
<div id="Subnav">
 
<ul>
<?php
$nums=112;
global $db;
$query = $db->query("SELECT * FROM ".DB_TABLEPRE."menu where fatherid='3' and menutype='0' ORDER BY menunum Asc");
	while ($row = $db->fetch_array($query)) {
?>
<li><a href="<?=$row[menuurl]?>"  <? if($nums==$row[menuid]){?> id="Subnavb"<? }?>><?=$row[menuname]?></a></li>
<?php
	}
?>


</ul>
</div>
<form name="save" method="post" action="?ac=refaxadd&do=save&fileurl=fax" onSubmit="return save_fax()">
	<input type="hidden" name="savetype" value="add" />
	<input type="hidden" name="content" value="add" />
<table class="TableTop" width="90%">
   <tr>
      <td class="left"></td>
      <td class="center">发送传真</td>
      <td class="right"></td>
   </tr>
</table>
 <table class="TableBlock no-top-border" width="90%">
 <?php if($get_public_fax_515158=='0'){?>
    <tr>
      <td colspan="2"><span style="font-size:16px; font-weight:bold; color:#FF0000; margin-left:30px; border:#FF9900 1px solid; background-color:#FFFFFF; text-align:center; padding-top:15px;height:50px; width:800px;">系统检测到没有安装传真设备,将导致无法发送传真,请自行安装配置传真服务器!</span></td>
    </tr>
	<?php }?>
    <tr>
      <td nowrap class="TableData" width="15%"> 传真主题：</td>
      <td class="TableData"><input name="title" type="text" class="input" value="" size="50" />
    </td>
    </tr>
    <tr>
      <td nowrap class="TableData"> 接收人：</td>
      <td class="TableData">
      <input type="text" name="receiver1" class="input" size="50" value="" />
      <a href="#" onClick="window.open ('admin.php?ac=fax&fileurl=fax', 'newwindow', 'height=500, width=950, top=10, left=10, toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no, status=no')">+添加</a></td>

    </tr>
    <tr>
      <td nowrap class="TableData">接收号码：</td>
      <td class="TableData"><textarea name="fax" cols="40" rows="3" class="input"></textarea>
			  <br><font color=red>注：多个请用“,”号隔开</font> 
      </td>
    </tr>
	<tr>
      <td nowrap class="TableHeader" colspan="2"><b>&nbsp;附件设置</b></td>
    </tr>
	 <tr>
      <td nowrap class="TableData"></td>
      <td class="TableData">注：传真内容为无格式传真内容，只传送纯文字无排版的内容可直接填写到“传真内容”框中，<br>
							    如要传送格式漂亮的正规文档，请上传附件，附件格式为：word文档,格式为“.doc”
      </td>
    </tr>
	 <tr>
      <td nowrap class="TableData">附件一：</td>
      <td class="TableData"><input type="text" name="file1" class="input" size="50" value="" />
	  <a href="#" onClick="window.open ('http://<?=$get_public_faxurl_515158?>/mod_uploadadd.php?name=file1', 'newwindow', 'height=200, width=400, top=0, left=0, toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no, status=no')">+添加</a>
      </td>
    </tr>
	 <tr>
      <td nowrap class="TableData">附件二：</td>
      <td class="TableData"><input type="text" name="file2" class="input" size="50" value="" />
	  <a href="#" onClick="window.open ('http://<?=$get_public_faxurl_515158?>/mod_uploadadd.php?name=file2', 'newwindow', 'height=200, width=400, top=0, left=0, toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no, status=no')">+添加</a>
      </td>
    </tr>
	 <tr>
      <td nowrap class="TableData">附件三：</td>
      <td class="TableData"><input type="text" name="file3" class="input" size="50" value="" />
	  <a href="#" onClick="window.open ('http://<?=$get_public_faxurl_515158?>/mod_uploadadd.php?name=file3', 'newwindow', 'height=200, width=400, top=0, left=0, toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no, status=no')">+添加</a>
      </td>
    </tr>
   
 
    <tr align="center" class="TableControl">
      <td colspan="2" nowrap height="35">
        <input type="submit" value="发送传真" class="BigButton">
      </td>
    </tr>
  </table>
</form>
</div>
</div>
 
<script language="javascript" src="javascripts01/tangram-1.3.1.js" type="text/javascript"></script>
<script language="javascript" src="javascripts01/elf.js" type="text/javascript"></script>
<script language="javascript" src="javascripts01/union.js" type="text/javascript"></script>
<script language="javascript" src="javascripts01/codeMgr.js" type="text/javascript"></script>
 
</body>
</html>
